package org.blogwu.learn.designpattern.chapter3;

public class Test {
    public static void main(String[] args) {
        ICourse iCourse = new JavaCourse(96, "Java", 366d);
        System.out.println("课程id:" + iCourse.getId());
        System.out.println("课程name:" + iCourse.getName());
        System.out.println("课程价格:" + iCourse.getPrice());
    }
}
